package com.xhs.main.service.xsb.impl;

import com.xhs.main.dao.xsb.XsbAddressDao;
import com.xhs.main.entity.xsb.Address;
import com.xhs.main.service.xsb.XsbAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author hjr
 * @create 2020-10-16-上午 9:57
 */
@Service
public class AddressServiceImpl implements XsbAddressService {

    @Autowired
    XsbAddressDao  xsbAddressDao;

    @Override
    public Address getOneById(int xsb_a_no) {
            Address  address  = xsbAddressDao.selectOneByID(xsb_a_no);
           return address;
    }

}
